Optimal. Leaf size=347 \[ -\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4}+\frac {c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{24 g (c d f-a e g) \sqrt {d+e x} (f+g x)^3}+\frac {5 c^2 d^2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{96 g (c d f-a e g)^2 \sqrt {d+e x} (f+g x)^2}+\frac {5 c^3 d^3 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{64 g (c d f-a e g)^3 \sqrt {d+e x} (f+g x)}+\frac {5 c^4 d^4 \tan ^{-1}\left (\frac {\sqrt {g} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {c d f-a e g} \sqrt {d+e x}}\right )}{64 g^{3/2} (c d f-a e g)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.32, antiderivative size = 347, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 46, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {876, 886, 888,
211} \begin {gather*} \frac {5 c^4 d^4 \text {ArcTan}\left (\frac {\sqrt {g} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{\sqrt {d+e x} \sqrt {c d f-a e g}}\right )}{64 g^{3/2} (c d f-a e g)^{7/2}}+\frac {5 c^3 d^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{64 g \sqrt {d+e x} (f+g x) (c d f-a e g)^3}+\frac {5 c^2 d^2 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{96 g \sqrt {d+e x} (f+g x)^2 (c d f-a e g)^2}+\frac {c d \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{24 g \sqrt {d+e x} (f+g x)^3 (c d f-a e g)}-\frac {\sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 876
Rule 886
Rule 888
Rubi steps
\begin {align*} \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^5} \, dx &=-\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4}+\frac {(c d) \int \frac {\sqrt {d+e x}}{(f+g x)^4 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx}{8 g}\\ &=-\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4}+\frac {c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{24 g (c d f-a e g) \sqrt {d+e x} (f+g x)^3}+\frac {\left (5 c^2 d^2\right ) \int \frac {\sqrt {d+e x}}{(f+g x)^3 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx}{48 g (c d f-a e g)}\\ &=-\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4}+\frac {c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{24 g (c d f-a e g) \sqrt {d+e x} (f+g x)^3}+\frac {5 c^2 d^2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{96 g (c d f-a e g)^2 \sqrt {d+e x} (f+g x)^2}+\frac {\left (5 c^3 d^3\right ) \int \frac {\sqrt {d+e x}}{(f+g x)^2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx}{64 g (c d f-a e g)^2}\\ &=-\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4}+\frac {c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{24 g (c d f-a e g) \sqrt {d+e x} (f+g x)^3}+\frac {5 c^2 d^2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{96 g (c d f-a e g)^2 \sqrt {d+e x} (f+g x)^2}+\frac {5 c^3 d^3 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{64 g (c d f-a e g)^3 \sqrt {d+e x} (f+g x)}+\frac {\left (5 c^4 d^4\right ) \int \frac {\sqrt {d+e x}}{(f+g x) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx}{128 g (c d f-a e g)^3}\\ &=-\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4}+\frac {c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{24 g (c d f-a e g) \sqrt {d+e x} (f+g x)^3}+\frac {5 c^2 d^2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{96 g (c d f-a e g)^2 \sqrt {d+e x} (f+g x)^2}+\frac {5 c^3 d^3 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{64 g (c d f-a e g)^3 \sqrt {d+e x} (f+g x)}+\frac {\left (5 c^4 d^4 e^2\right ) \text {Subst}\left (\int \frac {1}{-e \left (c d^2+a e^2\right ) g+c d e (e f+d g)+e^2 g x^2} \, dx,x,\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x}}\right )}{64 g (c d f-a e g)^3}\\ &=-\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 g \sqrt {d+e x} (f+g x)^4}+\frac {c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{24 g (c d f-a e g) \sqrt {d+e x} (f+g x)^3}+\frac {5 c^2 d^2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{96 g (c d f-a e g)^2 \sqrt {d+e x} (f+g x)^2}+\frac {5 c^3 d^3 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{64 g (c d f-a e g)^3 \sqrt {d+e x} (f+g x)}+\frac {5 c^4 d^4 \tan ^{-1}\left (\frac {\sqrt {g} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {c d f-a e g} \sqrt {d+e x}}\right )}{64 g^{3/2} (c d f-a e g)^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.20, size = 234, normalized size = 0.67 \begin {gather*} \frac {c^4 d^4 \sqrt {(a e+c d x) (d+e x)} \left (\frac {\sqrt {g} \left (48 a^3 e^3 g^3+8 a^2 c d e^2 g^2 (-17 f+g x)-2 a c^2 d^2 e g \left (-59 f^2+18 f g x+5 g^2 x^2\right )+c^3 d^3 \left (-15 f^3+73 f^2 g x+55 f g^2 x^2+15 g^3 x^3\right )\right )}{c^4 d^4 (c d f-a e g)^3 (f+g x)^4}+\frac {15 \tan ^{-1}\left (\frac {\sqrt {g} \sqrt {a e+c d x}}{\sqrt {c d f-a e g}}\right )}{(c d f-a e g)^{7/2} \sqrt {a e+c d x}}\right )}{192 g^{3/2} \sqrt {d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(685\) vs.
\(2(309)=618\).
time = 0.14, size = 686, normalized size = 1.98
method | result | size |
default | \(\frac {\sqrt {\left (c d x +a e \right ) \left (e x +d \right )}\, \left (15 \arctanh \left (\frac {g \sqrt {c d x +a e}}{\sqrt {\left (a e g -c d f \right ) g}}\right ) c^{4} d^{4} g^{4} x^{4}+60 \arctanh \left (\frac {g \sqrt {c d x +a e}}{\sqrt {\left (a e g -c d f \right ) g}}\right ) c^{4} d^{4} f \,g^{3} x^{3}+90 \arctanh \left (\frac {g \sqrt {c d x +a e}}{\sqrt {\left (a e g -c d f \right ) g}}\right ) c^{4} d^{4} f^{2} g^{2} x^{2}+60 \arctanh \left (\frac {g \sqrt {c d x +a e}}{\sqrt {\left (a e g -c d f \right ) g}}\right ) c^{4} d^{4} f^{3} g x -15 c^{3} d^{3} g^{3} x^{3} \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}+15 \arctanh \left (\frac {g \sqrt {c d x +a e}}{\sqrt {\left (a e g -c d f \right ) g}}\right ) c^{4} d^{4} f^{4}+10 a \,c^{2} d^{2} e \,g^{3} x^{2} \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}-55 c^{3} d^{3} f \,g^{2} x^{2} \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}-8 a^{2} c d \,e^{2} g^{3} x \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}+36 a \,c^{2} d^{2} e f \,g^{2} x \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}-73 c^{3} d^{3} f^{2} g x \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}-48 \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}\, a^{3} e^{3} g^{3}+136 \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}\, a^{2} c d \,e^{2} f \,g^{2}-118 \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}\, a \,c^{2} d^{2} e \,f^{2} g +15 \sqrt {c d x +a e}\, \sqrt {\left (a e g -c d f \right ) g}\, c^{3} d^{3} f^{3}\right )}{192 \sqrt {e x +d}\, \sqrt {\left (a e g -c d f \right ) g}\, \left (g x +f \right )^{4} g \left (a e g -c d f \right ) \left (a^{2} e^{2} g^{2}-2 a c d e f g +f^{2} c^{2} d^{2}\right ) \sqrt {c d x +a e}}\) | \(686\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1338 vs.
\(2 (324) = 648\).
time = 3.52, size = 2715, normalized size = 7.82 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{{\left (f+g\,x\right )}^5\,\sqrt {d+e\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________